package com.b2b2c.store.sharding.service;


import java.util.List;
import java.util.Map;

import com.b2b2c.until.PageResultList;



/**
 * 
 * @author Administrator
 *
 * @param <T>
 */
public interface IBaseService<T> {
	
	/**
	 * 获取列表
	 * @param requestMap 
	 * @return
	 */
	public List<T> getDataList(Map<String, String> requestMap);
	
	public <M> PageResultList<T> getDataByPage(M mapper);
}
